package com.exam.pojo.domain;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

/**
 * @author LG
 */
@Data
@Document(collection = "source")
public class Source {

    @Id
    private Long id;
    @Field("source_url")
    private String sourceUrl;
    private String type;

}
